CC=gcc
CFLAGS=-g -Wall

#-fstack-protector

all: trigger rx

.c.o:
	$(CC) $(CFLAGS) -c $< 

rx: rx.o
	$(CC) $(CFLAGS) -o rx rx.o -lpcap -lrt
	
trigger: trigger.o
	$(CC) $(CFLAGS) -o trigger trigger.o -lrt

clean:
	rm -f *.o $(PROG)
